Global Index
HTML5 JS API Index > Media Tutorials & Specs

HTMLVideoElement

Extends HTMLMediaElement.

A video element is used for playing videos or movies, and audio files with captions.

Properties
unsigned longheight
DOMString
poster
The poster IDL attribute must reflect the poster content attribute.
unsigned long
videoHeight
The videoWidth IDL attribute must return the intrinsic width of the video in CSS pixels. The videoHeight IDL attribute must return the intrinsic height of the video in CSS pixels. If the element's readyState attribute is HAVE_NOTHING, then the attributes must return 0.
unsigned long
videoWidth
The videoWidth IDL attribute must return the intrinsic width of the video in CSS pixels. The videoHeight IDL attribute must return the intrinsic height of the video in CSS pixels. If the element's readyState attribute is HAVE_NOTHING, then the attributes must return 0.
unsigned longwidth
Referenced by
CanvasRenderingContext2DdrawImage(...)
ImageBitmapFactoriescreateImageBitmap(...)